// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IRole.cs" company="AzureContrib (Open source library http://azurecontrib.codeplex.com)">
//   Microsoft Public License (Ms-PL)
// </copyright>
// <summary>
//   Wrapper contract for Microsoft Windows Azure Role
// </summary>
// --------------------------------------------------------------------------------------------------------------------

using System.Collections.ObjectModel;

namespace AzureContrib.WindowsAzure.ServiceRuntime
{
	/// <summary>
	/// Wrapper contract for Microsoft Windows Azure Role
	/// </summary>
	public interface IRole
	{
		/// <summary>
		/// Gets the Microsoft Windows Azure Role.Name
		/// </summary>
		string Name { get; }

		/// <summary>
		/// Gets the Microsoft Windows Azure Role.Instances
		/// </summary>
		ReadOnlyCollection<IRoleInstance> Instances { get; }
	}
}